package com.wxm.killing.mq.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import javax.persistence.*;

/**
 * 
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-11-05 15:17:21
 */
@Data
@Table(name = "tb_contract")
public class TbContract implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 编号
    */
	@Id
	private Integer contractId;
   /**
    * 标题
    */
	@Column(name = "title")
	private String title;
   /**
    * 图标
    */
	@Column(name = "image_url")
	private String imageUrl;
   /**
    * 店铺最小价值
    */
	@Column(name = "cost_min_price")
	private BigDecimal costMinPrice;
   /**
    * 店铺最大价值
    */
	@Column(name = "cost_max_price")
	private BigDecimal costMaxPrice;
   /**
    * 合约购买是否开启
    */
	@Column(name = "contract_is_open")
	private Integer contractIsOpen;
   /**
    * 合约最小金额
    */
	@Column(name = "contract_min_price")
	private BigDecimal contractMinPrice;
   /**
    * 合约最大金额
    */
	@Column(name = "contract_max_price")
	private BigDecimal contractMaxPrice;
   /**
    * 最小合约收益
    */
	@Column(name = "contract_min_rate")
	private String contractMinRate;
   /**
    * 最大合约收益
    */
	@Column(name = "contract_max_rate")
	private String contractMaxRate;
   /**
    * 抢购开始时间
    */
	@Column(name = "rush_start_time")
	private String rushStartTime;
   /**
    * 抢购结束时间
    */
	@Column(name = "rush_end_time")
	private String rushEndTime;
   /**
    * 抢购每日收益
    */
	@Column(name = "rush_rate_day")
	private String rushRateDay;
   /**
    * 抢购最终收益
    */
	@Column(name = "rush_rate_total")
	private String rushRateTotal;
   /**
    * 抢购燃烧每天
    */
	@Column(name = "rush_burn_day_rate")
	private String rushBurnDayRate;
   /**
    * 抢购燃烧总
    */
	@Column(name = "rush_burn_total_rate")
	private String rushBurnTotalRate;
   /**
    * 每日抢购最大数量
    */
	@Column(name = "rush_max_number_day")
	private String rushMaxNumberDay;
   /**
    * 
    */
	@Column(name = "apply_start_time")
	private String applyStartTime;
   /**
    * 
    */
	@Column(name = "apply_end_time")
	private String applyEndTime;
   /**
    * 申购每日收益
    */
	@Column(name = "apply_rate_day")
	private String applyRateDay;
   /**
    * 申购最终收益
    */
	@Column(name = "apply_rate_total")
	private String applyRateTotal;
   /**
    * 
    */
	@Column(name = "apply_burn_day_rate")
	private String applyBurnDayRate;
   /**
    * 
    */
	@Column(name = "apply_burn_total_rate")
	private String applyBurnTotalRate;
   /**
    * 锁定周期
    */
	@Column(name = "cycle_day")
	private Integer cycleDay;
   /**
    * 区块合约哈希值
    */
	@Column(name = "block_hash_value")
	private String blockHashValue;
   /**
    * 排序
    */
	@Column(name = "sort_order")
	private Integer sortOrder;
   /**
    * 启用禁用
    */
	@Column(name = "is_enable")
	private Integer isEnable;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 更新时间
    */
	@Column(name = "update_time")
	private Date updateTime;
}
